package com.huanqiu.mylib.util;

public final class FileUtil {

    /**
     * 获取文件后缀名
     */
    public static String getSuffixName(String filename) {
        int index = filename.lastIndexOf(".");
        return filename.substring(index + 1);
    }

}
